package com.app.implementation.service;


import com.app.model.Personnel;
import com.app.interfaces.AuthentificationDAO;
import com.app.interfaces.AuthentificationService;

/**
 *
 * @author Krachleur
 */
public class AuthentificationServiceImpl implements AuthentificationService {
    private AuthentificationDAO loginDao;

    public Personnel findByLoginAndPassword(String login, String pass) {
        return loginDao.findByLoginAndPassword(login, pass);
    }

    public AuthentificationDAO getLoginDao() {
        return loginDao;
    }

    public void setLoginDao(AuthentificationDAO loginDao) {
        this.loginDao = loginDao;
    }



}
